package com.rk.app.poll.client;

import java.io.Serializable;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class PollResponse implements Serializable {

	private static final long serialVersionUID = 1L;

	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long id;

	@Persistent
	private Long pollId;

	@Persistent
	private String userId;

	@Persistent
	private String selectedChoice;

	@Persistent
	private String comments;

	@Persistent
	private String time;

	public String getComments() {
		return comments;
	}

	public Long getPollId() {
		return pollId;
	}

	public String getSelectedChoice() {
		return selectedChoice;
	}

	public String getTime() {
		return time;
	}

	public String getUserId() {
		return userId;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public void setPollId(Long pollId) {
		this.pollId = pollId;
	}

	public void setSelectedChoice(String selectedChoice) {
		this.selectedChoice = selectedChoice;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

}
